home *** CD-ROM | disk | FTP | other *** search
- #ifndef __MOUSE2_H
- #define __MOUSE2_H
-
- #ifndef __MOUSE_H
- #include "mouse.h"
- #endif
- //
- // extended mousestatus::buttonstate constants
- //
- // Double-click pending constants:
- //
- enum MDOUBLECLICK{MOUSELEFT2=0x100,MOUSERIGHT2=0x200,MOUSECENTER2=0x400};
-
- #define DEFAULTDOUBLECLICKSPEED 6
- //
- // Extended routine, returning button press state ORed with
- // double-click pending state:
- //
- mousestatus mouseGetStatus2();
- //
- // Double click pending state starts at the moment of second button
- // press and ends with the release of the button
- //
- loc mouseClearDoubleClick(); // Clear mouse double-click pending state
- // and return coordinates of last mouse
- // button press or release
- void mouseSetDoubleClick(int speed=DEFAULTDOUBLECLICKSPEED);
- #endif //__MOUSE2_H
-